package com.vcc.service.boss.request.rate;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@Setter
@Getter
public class UpdateUserRateDto implements Serializable {

    @NotNull(message = "用户ID不能为空")
    private List<Long> userId;

    @NotNull(message = "费率不能为空")
    @Min(value = 0, message = "费率不能小于0")
    private BigDecimal rate;

    @NotNull(message = "提现费率不能为空")
    @Min(value = 0, message = "提现费率不能小于0")
    private BigDecimal clearRate;

    private BigDecimal activityRate;

    private String activityStartDate;

    private String activityEndDate;

}
